B
Bharath M

Contact Us Page Design

This Blazor Contact Us Form showcases a responsive, two-column layout with contact details and an interactive form. Tailwind CSS styling provides a modern interface with validation and summary components.

LIVE DEMO
Generated using Instruct UI - An AI for Blazor UI Generation
## What's implemented - Two-column layout with contact information and a contact form - Contact details section including address, phone, email, and social media icons - Interactive form using EditForm, InputText, InputTextArea, DataAnnotationsValidator, and ValidationMessage - Success feedback message on valid submission and option to reset form ## Key components - EditForm - InputText - InputTextArea - DataAnnotationsValidator - ValidationMessage - ValidationSummary ## How it works - Uses EditForm bound to ContactFormModel with fields for full name, email, subject, and message - Client-side validation is enforced using DataAnnotationsValidator and ValidationMessage based on ContactFormModel rules - Submitting a valid form sets messageSent to true and displays confirmation; ResetForm allows sending another message ## Styling - Extensive use of Tailwind CSS utility classes for layout, spacing, color, and typography - Responsive behavior adapts for mobile and desktop screens; rounded corners and shadow effects create a clean look ## Reuse steps 1. Add all Razor and C# files to your Blazor project 2. Ensure Tailwind CSS is configured in your build pipeline 3. Import necessary Blazor namespaces for forms and validation 4. Adjust ContactFormModel fields as required for your scenario 5. Connect to backend email/services as needed ## Limitations & next steps - Only UI and client-side validation are provided; integration with email or storage services required - Extend fields, connect to services, or add authentication as needed for production use - Generated by Instruct UI; further customization supported